package cate.game.admin.msg;

import cate.game.admin.AdminMenu;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBAdmin;
import easy.java.dev.note.NoteField;

import java.util.List;

@ClientMsg(title = "GM菜单の返回")
public class MenuResp implements MsgOutput {

    @NoteField(value = "菜单列表")
    public List<AdminMenu> menuList;

    public MenuResp(){}

    public MenuResp(List<AdminMenu> menuList) {
        this.menuList = menuList;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBAdmin.MENU_RESP;
    }
}
